<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
</head>
<body>

</body>
</html>
<script type="text/javascript">
	var arr = new Array(
		'星期日',
		'星期一',
		'星期二',
		'星期三',
		'星期四',
		'星期五',
		'星期六'
		);
	var d = new Date();
	var today = d.getDay();
	for(var i = 0;i < arr.length;i++) {
		if(i != today) {
			console.log(arr[i]);
		}else {
			// console.log('今天是' + arr[i]);
		}
	}
</script>